<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>客户信息管理</title>
	<script type="text/javascript" src="__STATIC__/hdjs/jquery-1.8.2.min.js"></script>
    <link rel="stylesheet" href="__STATIC__/hdjs/hdjs.css"/>
    <script type="text/javascript" src="__STATIC__/hdjs/hdjs.min.js"></script>
</head>
<body>
	<div class="hd-menu-list">
		<ul>
			 <li class="active"><a href="{|U:'index'}" > 客户信息列表 </a></li>
			 <li><a href="{|U:'add'}"> 添加客户信息 </a></li>
		</ul>
	</div>
	<table class="hd-table hd-table-list">
		<tr>
			<th>ID</th>
			<th>客户姓名</th>
			<th>客户电话</th>
			<th>备注信息</th>
			<th>添加时间</th>
			<th>操作</th>
		</tr>
		<list from='$customer' name='$v'>
			<tr>
				<td>{$v.id}</td>
				<td>{$v.name}</td>
				<td>{$v.phone}</td>
				<td>{$v.remark}</td>
				<td>{$v.addtime|date:'Y-m-d H:i:s',@@}</td>
				<td>
					[<a href="{|U:edit,array('id'=>$v[id])}">修改</a>]
					[<a href="{|U:del,array('id'=>$v[id])}">删除</a>]
				</td>
			</tr>
		</list>
	</table>
	<div class="hd-page">
		{$page}
	</div>
</body>
</html>